const mongoose = require('../index');

// 创建对象结构
let noteSchame = new mongoose.Schema({
    title:String,
    content:String,
});

// 创建实例对象模型
let noteModel = mongoose.model('noteLists',noteSchame);

module.exports = noteModel;